import { AddFormatFunc, exportRuleType } from "../types";

AddFormatFunc<exportRuleType>({

	type: "EXPORT",

	handle: (rule, FMC) => {
		return `export ${rule[1].length === 0 ? "" : rule[1][0]}${FMC(rule[2])}`;
	},

})
